import java.io.FileInputStream;
import java.io.FileNotFoundException;
import java.io.IOException;
import java.io.InputStream;

public class Demo9 {
    public static void main(String[] args) throws IOException {
        InputStream inputStream=null;
        try {
                inputStream=new FileInputStream("./text.txt");

        }finally {
                inputStream.close();
        }
    }
}
